# /etc/prom/prometheus.yml 本地配置文件

sudo docker run -d \
    -p 9090:9090 \
    -v /etc/prom/prometheus.yml:/etc/prometheus/prometheus.yml \
    --name prom prom/prometheus